package onlinejudge.entity;

/**
 * 题目实体
 */
public class Problem {

	private int problemId;
	private String problemTitle;
	private String problemContent;
	private String inputFormat;
	private String outputFormat;
	private String inputItema;
	private String inputItemb;
	private String inputItemc;
	private String outputItema;
	private String outputItemb;
	private String outputItemc;
	private int typeId;
	private int levelId;
	private int limitTime;
	private int limitSpace;
	private String problemSource;
	
	public Problem() {
		super();
	}
	public Problem(int problemId, String problemTitle, String problemContent, String inputFormat, String outputFormat,
			String inputItema, String inputItemb, String inputItemc, String outputItema, String outputItemb,
			String outputItemc, int typeId, int levelId, int limitTime, int limitSpace, String problemSource) {
		super();
		this.problemId = problemId;
		this.problemTitle = problemTitle;
		this.problemContent = problemContent;
		this.inputFormat = inputFormat;
		this.outputFormat = outputFormat;
		this.inputItema = inputItema;
		this.inputItemb = inputItemb;
		this.inputItemc = inputItemc;
		this.outputItema = outputItema;
		this.outputItemb = outputItemb;
		this.outputItemc = outputItemc;
		this.typeId = typeId;
		this.levelId = levelId;
		this.limitTime = limitTime;
		this.limitSpace = limitSpace;
		this.problemSource = problemSource;
	}
	public int getProblemId() {
		return problemId;
	}
	public void setProblemId(int problemId) {
		this.problemId = problemId;
	}
	public String getProblemTitle() {
		return problemTitle;
	}
	public void setProblemTitle(String problemTitle) {
		this.problemTitle = problemTitle;
	}
	public String getProblemContent() {
		return problemContent;
	}
	public void setProblemContent(String problemContent) {
		this.problemContent = problemContent;
	}
	public String getInputFormat() {
		return inputFormat;
	}
	public void setInputFormat(String inputFormat) {
		this.inputFormat = inputFormat;
	}
	public String getOutputFormat() {
		return outputFormat;
	}
	public void setOutputFormat(String outputFormat) {
		this.outputFormat = outputFormat;
	}
	public String getInputItema() {
		return inputItema;
	}
	public void setInputItema(String inputItema) {
		this.inputItema = inputItema;
	}
	public String getInputItemb() {
		return inputItemb;
	}
	public void setInputItemb(String inputItemb) {
		this.inputItemb = inputItemb;
	}
	public String getInputItemc() {
		return inputItemc;
	}
	public void setInputItemc(String inputItemc) {
		this.inputItemc = inputItemc;
	}
	public String getOutputItema() {
		return outputItema;
	}
	public void setOutputItema(String outputItema) {
		this.outputItema = outputItema;
	}
	public String getOutputItemb() {
		return outputItemb;
	}
	public void setOutputItemb(String outputItemb) {
		this.outputItemb = outputItemb;
	}
	public String getOutputItemc() {
		return outputItemc;
	}
	public void setOutputItemc(String outputItemc) {
		this.outputItemc = outputItemc;
	}
	public int getTypeId() {
		return typeId;
	}
	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}
	public int getLevelId() {
		return levelId;
	}
	public void setLevelId(int levelId) {
		this.levelId = levelId;
	}
	public int getLimitTime() {
		return limitTime;
	}
	public void setLimitTime(int limitTime) {
		this.limitTime = limitTime;
	}
	public int getLimitSpace() {
		return limitSpace;
	}
	public void setLimitSpace(int limitSpace) {
		this.limitSpace = limitSpace;
	}
	public String getProblemSource() {
		return problemSource;
	}
	public void setProblemSource(String problemSource) {
		this.problemSource = problemSource;
	}
	@Override
	public String toString() {
		return "Problem [problemId=" + problemId + ", problemTitle=" + problemTitle + ", problemContent="
				+ problemContent + ", inputFormat=" + inputFormat + ", outputFormat=" + outputFormat + ", inputItema="
				+ inputItema + ", inputItemb=" + inputItemb + ", inputItemc=" + inputItemc + ", outputItema="
				+ outputItema + ", outputItemb=" + outputItemb + ", outputItemc=" + outputItemc + ", typeId=" + typeId
				+ ", levelId=" + levelId + ", limitTime=" + limitTime + ", limitSpace=" + limitSpace
				+ ", problemSource=" + problemSource + "]";
	}
	
}
